import React from 'react';
import ReactDOM from 'react-dom';

import { HashRouter } from 'react-router-dom';
import routes from './routes';

import '@/styles/app.less';

ReactDOM.render(
  <HashRouter>
    { routes }
  </HashRouter>,
  document.getElementById('root')
);

if (module.hot) {
  module.hot.accept();
}
